package org.ch00.test04.demo01;

/**
 * .NET老师
 *
 * @author ZQX
 * @date 2025-03-03
 */
public class DotNetTeacher {
    private String name;
    private String school;

    public DotNetTeacher() {
    }

    public DotNetTeacher(String name, String school) {
        this.name = name;
        this.school = school;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    /**
     * 授课
     */
    public void teach() {
        System.out.println("打开 VS ...");
        System.out.println("讲课...");
    }

    public void jieShao() {
        System.out.println("大家好，我是" + this.name);
    }

}
